package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum ActivityPrizedCategory {
    luckDraw(1, "抽奖活动"),
    seckill(2, "秒杀活动");

    @EnumValue
    private final int code;
    private final String desc;

    ActivityPrizedCategory(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
